﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once

#include "GcmpCommandAction.h"

namespace gcmp
{
    /// \brief 操作(Action)界面设置，用于在一个Action执行开始时创建UI，结束时清除UI。
    class GCMP_COMMAND_ACTION_EXPORT IActionUiBehavior
    {
    public:
        /// \brief 初始化UI
        virtual void InitializeUi() = 0;
        /// \brief 清除UI
        virtual void UnInitializeUi() = 0;
        /// \brief 克隆
        virtual OwnerPtr<IActionUiBehavior> Clone() const = 0;
    };
}

